HEADERS += \
    DevicePro/TargetBL_Config.h \
    DevicePro/TargetBL_Interface.h \
    DevicePro/common.h \
    DevicePro/crc.h \
    DevicePro/flash_if.h \
    DevicePro/infoblock.h \
    DevicePro/user_global.h \
    Drivers/CMSIS/GD/GD32F4xx/Include/gd32f4xx.h \
    Drivers/CMSIS/GD/GD32F4xx/Include/system_gd32f4xx.h \
    Drivers/CMSIS/core_cm4.h \
    Drivers/CMSIS/core_cm4_simd.h \
    Drivers/CMSIS/core_cmFunc.h \
    Drivers/CMSIS/core_cmInstr.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_adc.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_can.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_crc.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_ctc.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_dac.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_dbg.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_dci.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_dma.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_enet.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_exmc.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_exti.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_fmc.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_fwdgt.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_gpio.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_i2c.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_ipa.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_iref.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_misc.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_pmu.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_rcu.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_rtc.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_sdio.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_spi.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_syscfg.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_timer.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_tli.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_trng.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_usart.h \
    Drivers/GD32F4xx_standard_peripheral/Include/gd32f4xx_wwdgt.h \
    Drivers/GD32F4xx_usb_library/device/class/audio/Include/audio_core.h \
    Drivers/GD32F4xx_usb_library/device/class/audio/Include/audio_out_itf.h \
    Drivers/GD32F4xx_usb_library/device/class/cdc/Include/cdc_acm_core.h \
    Drivers/GD32F4xx_usb_library/device/class/dfu/Include/dfu_core.h \
    Drivers/GD32F4xx_usb_library/device/class/dfu/Include/dfu_mal.h \
    Drivers/GD32F4xx_usb_library/device/class/hid/Include/custom_hid_core.h \
    Drivers/GD32F4xx_usb_library/device/class/hid/Include/standard_hid_core.h \
    Drivers/GD32F4xx_usb_library/device/class/iap/Include/usb_iap_core.h \
    Drivers/GD32F4xx_usb_library/device/class/msc/Include/usbd_msc_bbb.h \
    Drivers/GD32F4xx_usb_library/device/class/msc/Include/usbd_msc_core.h \
    Drivers/GD32F4xx_usb_library/device/class/msc/Include/usbd_msc_data.h \
    Drivers/GD32F4xx_usb_library/device/class/msc/Include/usbd_msc_mem.h \
    Drivers/GD32F4xx_usb_library/device/class/msc/Include/usbd_msc_scsi.h \
    Drivers/GD32F4xx_usb_library/device/class/printer/Include/printer_core.h \
    Drivers/GD32F4xx_usb_library/device/core/Include/usbd_core.h \
    Drivers/GD32F4xx_usb_library/device/core/Include/usbd_enum.h \
    Drivers/GD32F4xx_usb_library/device/core/Include/usbd_transc.h \
    Drivers/GD32F4xx_usb_library/driver/Include/drv_usb_core.h \
    Drivers/GD32F4xx_usb_library/driver/Include/drv_usb_dev.h \
    Drivers/GD32F4xx_usb_library/driver/Include/drv_usb_host.h \
    Drivers/GD32F4xx_usb_library/driver/Include/drv_usb_hw.h \
    Drivers/GD32F4xx_usb_library/driver/Include/drv_usb_regs.h \
    Drivers/GD32F4xx_usb_library/driver/Include/drv_usbd_int.h \
    Drivers/GD32F4xx_usb_library/driver/Include/drv_usbh_int.h \
    Drivers/GD32F4xx_usb_library/host/class/hid/Include/usbh_hid_core.h \
    Drivers/GD32F4xx_usb_library/host/class/hid/Include/usbh_hid_keybd.h \
    Drivers/GD32F4xx_usb_library/host/class/hid/Include/usbh_hid_mouse.h \
    Drivers/GD32F4xx_usb_library/host/class/hid/Include/usbh_hid_parser.h \
    Drivers/GD32F4xx_usb_library/host/class/hid/Include/usbh_hid_usage.h \
    Drivers/GD32F4xx_usb_library/host/class/msc/Include/usbh_msc_bbb.h \
    Drivers/GD32F4xx_usb_library/host/class/msc/Include/usbh_msc_core.h \
    Drivers/GD32F4xx_usb_library/host/class/msc/Include/usbh_msc_scsi.h \
    Drivers/GD32F4xx_usb_library/host/core/Include/usbh_core.h \
    Drivers/GD32F4xx_usb_library/host/core/Include/usbh_enum.h \
    Drivers/GD32F4xx_usb_library/host/core/Include/usbh_pipe.h \
    Drivers/GD32F4xx_usb_library/host/core/Include/usbh_transc.h \
    Drivers/GD32F4xx_usb_library/ustd/class/cdc/usb_cdc.h \
    Drivers/GD32F4xx_usb_library/ustd/class/hid/usb_hid.h \
    Drivers/GD32F4xx_usb_library/ustd/class/msc/msc_bbb.h \
    Drivers/GD32F4xx_usb_library/ustd/class/msc/msc_scsi.h \
    Drivers/GD32F4xx_usb_library/ustd/class/msc/usb_msc.h \
    Drivers/GD32F4xx_usb_library/ustd/common/usb_ch9_std.h \
    Inc/crc.h \
    Inc/gpio.h \
    Inc/iwdg.h \
    Inc/main.h \
    Inc/tim.h \
    Inc/usart.h \
    Inc/wwdg.h \
    Src/gd32f4xx_it.h \
    Src/gd32f4xx_libopt.h \
    Src/main.h \
    Src/nvic.h \
    Src/systick.h

SOURCES += \
    DevicePro/CRC.c \
    DevicePro/TargetBL_Commands.c \
    DevicePro/TargetBL_DevSpecific.c \
    DevicePro/TargetBL_InfoBlock.c \
    DevicePro/TargetBL_Main.c \
    DevicePro/common.c \
    DevicePro/flash_if.c \
    Drivers/CMSIS/GD/GD32F4xx/Source/system_gd32f4xx.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_adc.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_can.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_crc.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_ctc.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_dac.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_dbg.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_dci.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_dma.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_enet.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_exmc.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_exti.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_fmc.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_fwdgt.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_gpio.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_i2c.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_ipa.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_iref.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_misc.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_pmu.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_rcu.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_sdio.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_spi.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_syscfg.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_timer.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_tli.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_trng.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_usart.c \
    Drivers/GD32F4xx_standard_peripheral/Source/gd32f4xx_wwdgt.c \
    Drivers/GD32F4xx_usb_library/device/class/audio/Source/audio_core.c \
    Drivers/GD32F4xx_usb_library/device/class/audio/Source/audio_out_itf.c \
    Drivers/GD32F4xx_usb_library/device/class/cdc/Source/cdc_acm_core.c \
    Drivers/GD32F4xx_usb_library/device/class/dfu/Source/dfu_core.c \
    Drivers/GD32F4xx_usb_library/device/class/dfu/Source/dfu_mal.c \
    Drivers/GD32F4xx_usb_library/device/class/hid/Source/custom_hid_core.c \
    Drivers/GD32F4xx_usb_library/device/class/hid/Source/standard_hid_core.c \
    Drivers/GD32F4xx_usb_library/device/class/iap/Source/usb_iap_core.c \
    Drivers/GD32F4xx_usb_library/device/class/msc/Source/usbd_msc_bbb.c \
    Drivers/GD32F4xx_usb_library/device/class/msc/Source/usbd_msc_core.c \
    Drivers/GD32F4xx_usb_library/device/class/msc/Source/usbd_msc_data.c \
    Drivers/GD32F4xx_usb_library/device/class/msc/Source/usbd_msc_scsi.c \
    Drivers/GD32F4xx_usb_library/device/class/printer/Source/printer_core.c \
    Drivers/GD32F4xx_usb_library/device/core/Source/usbd_core.c \
    Drivers/GD32F4xx_usb_library/device/core/Source/usbd_enum.c \
    Drivers/GD32F4xx_usb_library/device/core/Source/usbd_transc.c \
    Drivers/GD32F4xx_usb_library/driver/Source/drv_usb_core.c \
    Drivers/GD32F4xx_usb_library/driver/Source/drv_usb_dev.c \
    Drivers/GD32F4xx_usb_library/driver/Source/drv_usb_host.c \
    Drivers/GD32F4xx_usb_library/driver/Source/drv_usbd_int.c \
    Drivers/GD32F4xx_usb_library/driver/Source/drv_usbh_int.c \
    Drivers/GD32F4xx_usb_library/host/class/hid/Source/usbh_hid_core.c \
    Drivers/GD32F4xx_usb_library/host/class/hid/Source/usbh_hid_keybd.c \
    Drivers/GD32F4xx_usb_library/host/class/hid/Source/usbh_hid_mouse.c \
    Drivers/GD32F4xx_usb_library/host/class/hid/Source/usbh_hid_parser.c \
    Drivers/GD32F4xx_usb_library/host/class/msc/Source/usbh_msc_bbb.c \
    Drivers/GD32F4xx_usb_library/host/class/msc/Source/usbh_msc_core.c \
    Drivers/GD32F4xx_usb_library/host/class/msc/Source/usbh_msc_fatfs.c \
    Drivers/GD32F4xx_usb_library/host/class/msc/Source/usbh_msc_scsi.c \
    Drivers/GD32F4xx_usb_library/host/core/Source/usbh_core.c \
    Drivers/GD32F4xx_usb_library/host/core/Source/usbh_enum.c \
    Drivers/GD32F4xx_usb_library/host/core/Source/usbh_pipe.c \
    Drivers/GD32F4xx_usb_library/host/core/Source/usbh_transc.c \
    Src/crc.c \
    Src/gd32f4xx_it.c \
    Src/gpio.c \
    Src/infoblock.c \
    Src/iwdg.c \
    Src/main.c \
    Src/nvic.c \
    Src/stm32f4xx_hal_msp.c \
    Src/stm32f4xx_it.c \
    Src/system_stm32f4xx.c \
    Src/systick.c \
    Src/tim.c \
    Src/usart.c \
    Src/wwdg.c

INCLUDEPATH += ./Inc \
                Drivers/CMSIS/GD/GD32F4xx/Include/ \
                Drivers/CMSIS/Include/ \
                Drivers/GD32F4xx_standard_peripheral/Include/ \
                Drivers/GD32F4xx_standard_peripheral/Source/ \
                Drivers/CMSIS/GD/GD32F4xx/Source/ \
                C:\Keil_v5\ARM\ARMCC\include/ \
                DevicePro/ \

DISTFILES += \
    DevicePro/.gitignore \
    DevicePro/freq.pl \
    Drivers/CMSIS/GD/GD32F4xx/Source/ARM/startup_gd32f405.s \
    Src/freq.pl \
    Src/readme.txt

DEFINES += __packed= USE_HAL_DRIVER= GD32F405xx= __IO

OTHER_FILES += \
    Src/freq.pl
